package com.API.dal.providers;

import com.API.dal.entities.Location;

import java.util.List;

/**
 * Интерфейс управления местоположением
 */
public interface LocationProvider {

    List<Location> getLocations();
    Location getLocationByName(String name);
    Location getLocationById(int id);
    void addLocation(Location location);
    void updateLocation(Location location);
}
